import request from '@/utils/request'
// 汇付 个人 -- 创建用户
export function hfCreate(data) {
  return request({
    url: '/AdapayMember/create',
    method: 'post',
    data
  })
}
// 地区编码
export function hfGetList(data) {
  return request({
    url: '/AdapayArea/get_list',
    method: 'post',
    data
  })
}
// 地区编码
export function hfGetBank(data) {
  return request({
    url: '/AdapayBankCode/get_list',
    method: 'post',
    data
  })
}
// 汇付 更改银行卡
export function hfSettleChange(data) {
  return request({
    url: '/AdapaySettleAccount/change',
    method: 'post',
    data
  })
}
// 汇付 个人 -- 结算用户
export function hfSettleCreate(data) {
  return request({
    url: '/AdapaySettleAccount/create',
    method: 'post',
    data
  })
}
// 汇付 企业
export function hfCorpMember(data) {
  return request({
    url: '/AdapayCorpMember/create',
    method: 'post',
    data
  })
}
// 汇付 企业更新/AdapayCorpMember/update
export function hfCorpUpdate(data) {
  return request({
    url: '/AdapayCorpMember/update',
    method: 'post',
    data
  })
}
// 汇付 企业回显
export function hfCorpGetInfo(data) {
  return request({
    url: '/AdapayCorpMember/get_info',
    method: 'post',
    data
  })
}
// 汇付 个人回显
export function hfCorpMemberInfo(data) {
  return request({
    url: '/AdapayMember/get_info',
    method: 'post',
    data
  })
}
// 汇付 佣金到余额
export function adapayCommissionTobalance(data) {
  return request({
    url: 'UserApi/adapayCommissionTobalance',
    method: 'post',
    data
  })
}
// 汇付 转到预存款
export function toDepositApply(data) {
  return request({
    url: '/AdapayCommission/to_deposit_apply',
    method: 'post',
    data
  })
}
